package com.ljw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljw.dto.BookDto;
import com.ljw.dto.CheckOutDto;
import com.ljw.dto.MoveInDto;
import com.ljw.entity.Move;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljw.vo.MoveVo;

/**
 * <p>
 * 入住信息表 服务类
 * </p>
 *
 * @author ljw
 * @since 2020-07-25
 */
public interface MoveService extends IService<Move> {

    Page<MoveVo> findAll(Page<MoveVo> page, int userId);

    String moveIn(MoveInDto moveInDto);

    String checkOut(CheckOutDto checkOutDto);

    String bookAndMoveIn(BookDto bookDto);

}
